Twgit is a free and open source assisting tools for managing features, hotfixes and releases on Git repositories. It provides simple, high-level commands to adopt the branching model describes in our documentation. Supported OS: Debian/Ubuntu Linux, Mac OS X 10.8 (Mountain Lion) or lower.
When calling any twgit command, Twgit checks periodicaly (seems to be each 2 days by default) if there is not a new version of itself.
If it finds one update available, it invites you to choose between continuing the execution of your command or updating to a new version of Twgit.
By choosing the update way, when the update is finished, it returns to the command prompt. A short message inviting you to "re-entering your request".
Won't it be easier to perform the update, then executing the command which was at first called ?