git-repair software package provides repair various forms of damage to git repositories, you can install in your Ubuntu 16.04 LTS (Xenial Xerus) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install git-repair
git-repair is installed in your system.
Make ensure the git-repair package were installed using the commands given below,
$ sudo dpkg-query -l | grep git-repair *
You will get with git-repair package name, version, architecture and description in a table
| Distro | Ubuntu 16 04 lts xenial xerus |
| Section | Utilities |
| Package | git-repair |
| Version | 1.20151215-1 |
| Description | repair various forms of damage to git repositories |
| Sub Section | Utils |