When checking out a branch in SourceTree for Windows I get this error:
git -c diff.mnemonicprefix=false -c core.quotepath=false checkout master
Switched to branch 'master'
git -c diff.mnemonicprefix=false -c core.quotepath=false submodule update --init --recursive
bash.exe: warning: could not find /tmp, please create!
/libexec/git-core/git-sh-setup: line 266: cd: .git: No such file or directory
Unable to determine absolute path of git directory
Completed with errors, see above.
It still checks-out the branch but it gives this error everytime. It also gives me this error when I try to stash something but it will not let me stash anything when I get this error.