You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
Mario Jason Braganza 3e2b082a62
Updated README
2 weeks ago
LICENSES added license. modified readme 2 weeks ago
.gitignore Basics done 2 weeks ago
LICENSE added license 2 weeks ago Updated README 2 weeks ago done 2 weeks ago
requirements.txt Basics done 2 weeks ago

A tiny Python utility that shows you the local git branches in the current directory along with the last commit date on those branches.

Do you want an overkill Python script that will tell you what local git branches you have in your current directory?
Git-the-Branch will do it for you.
This is a play project for me to get familiar with GitPython.


  • Requires Python 3.6+
  • Requires that you have the GitPython package installed (see requirements.txt).

Installation & Use

  • Create a virtual env for yourself in the git-the-branch folder. - python3 -m venv venv
  • Activate the virtual env - venv/bin/activate
  • Install the GitPython package - pip install gitpython
  • Then just run the Python file, with a, python /path/to/

And it will tell you what local git branches exist in your current folder.


Git-the-Branch is distributed under the MIT License.


Git-the-Branch depends on GitPython which is distributed under the BSD 3-Clause “New” or “Revised” License. (copy in the Licenses sub-directory)