Move printBranch to bin