Add a test to make sure a new snapshot has the new value.
Change the length of the file so that the change is picked up.
Patch from @carlosmn to refresh the parent config before snapshotting.
Merge pull request #2622 from libgit2/refresh-config-snapshot

Refresh git configuration before looking for the tracking branch redux.