• git branch

  • git show-branch

  • show the current working branch
    git rev-parse --abbrev-ref HEAD

References