Może masz włączone UAC.
Wyłączyłem UAC i co ciekawe w Team Explorer przestała działać wtyczka Github tools, jak włączyłem to jest widoczna ale komunikat cały czas ten sam.
a sprobuj skasować ten plik config.lock.
Wykasowałem go i działa:) Dzięki wszystkim za pomoc i sugestie. Plik był ukryty i zawierał takie o to dane:
[core]
bare = false
repositoryformatversion = 0
filemode = false
logallrefupdates = true
symlinks = false
ignorecase = true
[diff]
tool = vsdiffmerge
[difftool]
prompt = true
[difftool "vsdiffmerge"]
cmd = \"P:\\!PROGRAMY\\Visual Studio 11 b\\Common7\\IDE\\vsdiffmerge.exe\" \"$LOCAL\" \"$REMOTE\" //t
keepbackup = false
trustexistcode = true
[merge]
tool = vsdiffmerge
[mergetool]
prompt = true
[mergetool "vsdiffmerge"]
cmd = \"P:\\!PROGRAMY\\Visual Studio 11 b\\Common7\\IDE\\vsdiffmerge.exe\" \"$REMOTE\" \"$LOCAL\" \"$BASE\" \"$MERGED\" //m
keepbackup = false
trustexistcode = true
[remote "origin"]
url = https://github.com/Seb/SystemZ.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master