[TOPGIT] make creating a commit from a topgit branch a function