Tag a git repository based on git commits