Your logs do not show how the package got into the inconsistent state (it was already inconsistent at the beginning). To get out of it, you need to follow the advice of the error message and reinstall the package: apt-get install --reinstall git.
** Changed in: git (Ubuntu) Status: New => Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1581055 Title: package git 1:1.9.1-1ubuntu0.3 failed to install/upgrade: package is in a very bad inconsistent state; you should reinstall it before attempting configuration To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/git/+bug/1581055/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs