I was scratching my head with this one. Whenever I tried to perform a rebase with git I got the following error message:
/libexec/git-core/git-sh-setup: line 309: cd: .git: No such file or directory
I resolved this by killing the ssh-agent.exe process.
I think this is due to me using git before I mounted my encrypted volume....