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 https://BtheDestroyer@github.com/BtheDestroyer/Space-Bar.git /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/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git: 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/SourceTree.app/Contents/Resources/git_local/libexec/git-core/git: 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
Atlassian Community Anniversary

Happy Anniversary, Atlassian Community!

This community is celebrating its one-year anniversary and Atlassian co-founder Mike Cannon-Brookes has all the feels.

Read more
Community showcase
Brian Ganninger
Published Jan 23, 2018 in Sourcetree

Tip from the team: workflow and keyboard shortcuts

Supported Platforms macOS Sourcetree has a lot to offer and, like many developer tools, finding and using it all can be a challenge, especially for a new user. Everyone might not love ...

649 views 0 4
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