See your latest local git branches, formatted real fancy
Switch branches/tags
Clone or download
Latest commit a7ae319 Oct 11, 2018
Failed to load latest commit information.
LICENSE Added MIT LICENSE (#14) Apr 20, 2017
git-recent Add count parameter (-n) (#12) Oct 11, 2018
package.json v1.1.0 Oct 11, 2018 Add count parameter (-n) (#12) Oct 11, 2018


Type git recent to see your latest local git branches


git recent

Optionally, add -n<int> to see the most recent <n> branches

git recent -n5

git-recent screenshot

If you're a Windows user, you need to use Git Bash or similar shell in order to effectively use this utility.


You can add the git-recent location to your path (e.g. add the directory to your PATH environment or copy git-recent into an existing included path like /usr/local/bin or ~/bin/).

You can use also npm to install the global binary:

npm install --global git-recent

On Mac, you can install with homebrew:

brew install git-recent

If you like this you may also be interested in...

  • git open - Open the repo website in your browser
  • diff-so-fancy - Making the output of git diff so fancy


Copyright Paul Irish. Licensed under MIT.


  • 2016-05-16 - added to paulirish/dotfiles
  • 2016-08-05 - released in standalone repo and published to npm