Git is making me commit a second time for some reason