Solution:

remove the file “homedir/.git/index.lock”