Attempt to sync Git with reality.