Commit history not properly saved