Can't clone from remote git

I just downloaded Sourcetree tonight and already have a pretty major issue. I made a repository on Github and cloned it to my Windows desktop without a problem, but when I tried to do the same thing on my OS X laptop, I get this:

git -c diff.mnemonicprefix=false -c core.quotepath=false -c credential.helper=sourcetree clone /Users/*********/Documents/Space-Bar 
Cloning into '/Users/*********/Documents/Space-Bar'...
warning: templates not found /Users/mbasaralusrinivasa/workspace/git-scm/git-274/share/git-core/templates
/Users/*********/Applications/ line 1: ../../bin/git: No such file or directory
fatal: The remote end hung up unexpectedly
Completed with errors, see above

(I censored my user with asterisks)

For some reason, it calls a "templates not found" error referencing the user "mbasaralusrinivasa" which isn't a user on the laptop nor have I ever heard of them. Can someone give me some insight?

1 answer

The "templates not found" is just a warning, and isn't causing your problem (it is strange that its referring to a non-existent user though).

I recommend you focus on the next error:

/Users/*********/Applications/ line 1: ../../bin/git: No such file or directory

Sounds like there may be a problem with your git installation, or maybe something PATH related.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Oct 23, 2018 in Sourcetree

Tip from the team: configure your repos for hosting goodness!

Supported Platforms macOS Windows We recently introduced support for additional hosting services such as GitHub Enterprise, GitLab (Cloud, Community Edition, Enterprise Edition), and...

1,129 views 4 2
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you