In windows cmd.exe: git tfs clone command writes the .git folder with ownership of admin not actual user in consequence the tortoisegit throws an error: ... folder .git not owned by current user .....