To install Git Lint, run this command in your terminal:
$ pip install git_linter
If you don’t have pip installed, this Python installation guide can guide you through the process.
The sources for Git Lint can be downloaded from the Github repo.
You can either clone the public repository:
$ git clone git://github.com/elfsternberg/git_linter
Or download the tarball:
$ curl -OL https://github.com/elfsternberg/git_linter/tarball/master
Once you have a copy of the source, you can install it with:
$ python setup.py install
Once installed, please copy the ‘.git-lint’ example file. You may install this either in your home directory as .git-lint or in your project’s git directory as .git/lint/git-lint