MODULES-1571 Add Git Facts

Add some tests for the facts, and refactor the facts a bit to make them easier to test :+1: 
Possibly, but hub for example makes git have two lines :smile: