Since the mass migration of people away from the original default of using master as the de-facto name for the main working git branch it's been a guess on what the name of the branch you probably want is.
npins add github should be able to resolve a default branch, either when --branch is supplied with no arguments. or with a separate flag.
The latter would be more explicit and have no possibility of breaking any legacy code so I'd vote for that