sample-rpkg giturl [-h]
This will show you which git URL would be used in a build command. It uses the git hashsum of the HEAD of the current branch (which may not be pushed).
-h
--help
show this help message and exit