Fix bug with git