Solve weird bug with git