Forums

How to upgrade Git version

I'm trying to use GitHub webhooks and the GitPython package to automatically publish changes to Python Anywhere when I push to my GitHub repository. However, I'm running into an issue with the current version of Git installed on the PA console. There's a bug that is preventing me from pulling changes down from GitHub using GitPython that can be fixed by upgrading to the latest version of Git. How do I upgrade the installed version of Git?

I solved my own problem.

The version of git that is available in your account is the most recent that is available on PythonAnywhere. You could try compiling a new version in your home directory if you really wanted to and have the skill to do it.