Very strange git working