[master] Add cmt function for commiting branch name in square brackets