sbt-git plugin, on command prompt it shows the current branch, allows git to be used within sbt
tests for FactoryIdToFactoryImpl, notice Int Factory didn't use a trait so wasn't mockable