Simplify logic in GitDownloadCommand Use fewer else conditions and rely on a single fall through return null if it is not suitable to produce a command. Change-Id: I70330af6bbab12d2be4ebe14cb4274d4af3bea01