Make SourcesManager ignore some global git configs
Change spec so that it would cause a rebase.
Added specs for testing if git options are present
Merge pull request #1978 from neonichu/master

Make SourcesManager ignore some global git configs