Add git_status_invariant
Fix typo.
Fix typo.
Rename status invariant to state.
Keep symbolink links in account too.