Fixing weird bug with git