Just git branch
without options.
From the manpage:
With no arguments, existing branches are listed and the current branch will be highlighted with an asterisk.
Related Contents:
- How do I delete a Git branch locally and remotely?
- How do I remove local (untracked) files from the current Git working tree?
- Make an existing Git branch track a remote branch?
- Move existing, uncommitted work to a new branch in Git
- How do I get the current branch name in Git?
- Git fetch remote branch
- How to replace master branch in Git, entirely, from another branch? [duplicate]
- Create Git branch with current changes
- Update Git branches from master
- How do I list all remote branches in Git 1.7+?
- How is a tag different from a branch in Git? Which should I use, here?
- Git branch command behaves like ‘less’
- Push commits to another branch
- Show just the current branch in Git
- How to determine when a Git branch was created?
- Creating a new empty branch for a new project
- How to pull remote branch from somebody else’s repo
- Git merge errors
- When to delete branches in Git?
- What is the difference between “git branch” and “git checkout -b”?
- Find out a Git branch creator
- Why call git branch –unset-upstream to fixup?
- Why does git-rebase give me merge conflicts when all I’m doing is squashing commits?
- How do I fetch a branch on someone else’s fork on GitHub? [duplicate]
- git push local branch with same name as remote tag
- Update an outdated branch against master in a Git repo
- Change a Git remote HEAD to point to something besides master
- GitHub: What is a “wip” branch?
- git remote prune – didn’t show as many pruned branches as I expected
- Git pulling a branch from another repository?
- How to read git log graph
- How do I shallow clone a repo on a specific branch?
- git how to find commit hash where branch originated from
- How to generate patch for all commits in a branch?
- Git branch deletion
- Git create branch from current checked out master?
- Is it possible to fork a public GitHub repo into an enterprise repository?
- `git fetch` a remote branch
- How do I determine the source branch of a particular branch?
- Where does a Git branch start and what is its length?
- git branch: gh-pages
- Git add a worktree from existing remote branch
- How to find which git branch I am on when my disk is mounted on other server
- Merge and delete branch in one step/command
- remove branches not on remote
- How can I completely empty the master branch in Git?
- List all modified files in git merge commit – even the fast forwarded
- How to read a Git log graph
- Switch current branch in git bare repository
- How to checkout a remote branch in Git?