Fix: rename getBranch to getRemote.

Oops. In lib.sh, the function was named "getBranch", but I was calling getRemote in all the other scripts. This fix renames getBranch to getRemote in lib.sh.