Recording the git repo status every time it changes

So we can infer what happened later on,