Update: generalised 'which' to also support remote and remote-branch