Errors using Git and SourceTree

5k Views Asked by At

I keep getting this error message when I try to clone a site from Git to SourceTree:

warning: templates not found C:\Program Files\Git\share\git-core\templates

error: no such remote ref refs/heads/master.

I have already uninstalled SourceTree once. How do I fix this error?

1

There are 1 best solutions below

0
On

This might be a problem in Sourcetree, have you tried cloning using terminal?

also check here,

https://answers.atlassian.com/questions/269610/sourcetree-git-cloning-warning-templates-not-found