Allow git select to fetch remote

Refactors git select script to use the new logic

Enable passing -r as argument to automatically fetch from remote if only
1 match