Check git/svn availability before trying to add prompt info