Git keeps corrupting my repos...