Examples and more information about bash-functions, bash-git_prompt and git-aliases below the Getting Started guide.
More information about branching, forking, rebasing, merging and all that good stuff can be found in this free online 'book': https://git-scm.com/book/en/v2