git-svn, perl/Git.pm: add central method for prompting passwords