Services Spotlight:

Install Git Bash Completion on Ubuntu

Written By Corlew Solutions
Updated April 7, 2016
Published April 7, 2016
Why Corlew Solutions?

We write great software and provide amazing technical support. Contact us today if you need help with a software project:

  • Website: Send an inquiry
  • Email:

Article Technology Info

This article discusses the following technologies:

  • Git - A free and open source distributed version control system
    (website | download | docs)
  • Ubuntu - A Debian-based Linux operating system that is a popular server choice.
    (website | download | wiki)

Bash Completion Ubuntu

After using Git for a while, you’ll eventually start looking ways to make your Git workflow more efficient. One thing that gets old pretty quick is having to type out full file, directory and branch names. Wouldn’t it be nice to have the same auto completion capability in Git that we have on our bash terminal? Of course it would! Let’s make it happen.

Install Git Bash Completion

Git auto completion is so useful that it’s available through the package manager on Ubuntu. To install, open a terminal and execute:

sudo apt-get install git bash-completion


With Git bash completion installed, navigate to the folder of one of your projects that is using Git. Type the first few letters of branch name in then press the tab key. If Git bash completion can find your target, it will finish the spelling for you. For example, if you want to checkout the master branch you could type

git checkout mas # then press tab

We hope you found this article useful. If you see any mistakes, missing features or ways to improve it, please let us know in the comments below so we can update its contents. If you're willing to link to us, we would sincerely appreciate it!


Corlew Solutions is a Web Design and Web Application Development company based in Fairfax Virginia, minutes away Washington D.C. If you're looking for great web design from the Northern Virginia area or web design from the Washington D.C. area we can help. Contact Us today!

comments powered by Disqus