The question Setting up a git repo on my GoDaddy hosting plan is not only off topic, but there is canonical documentation from GoDaddy, and it is also crossposted on Server Fault.
It has outlived its usefulness (now GoDaddy installs git by default, or so I've heard), and is basically stale information. Can we delete it?
To summarize:
- The information in this question is stale:
- The top answer recommends to install a pre compiled binary which doesn't comes from git (which fires several alarms), only to be aggravated by the fact that the blog is dead anyways.
- Second is botherline NAA, without the link you still get something useful (you will need a pre-compiled git for CentOS, but the only source it references is the blog, which sets the same alarms as before) and a second step which is setting uploadpack and recievepack.
- Third doesn't know what is talking about. It recommends building git from source but GoDaddy don't offer the headers.
- I can't make sense of why is necessary all of that in the next answer.
- The next recommends using scp to copy the git repository over...
- By the book, NAA https://stackoverflow.com/a/20035405/792066
- This was the only correct answer, something I could have answered.
- Next one, the link pointing to the binary is dead, but at least pointed to something that didn't seems shaddy.
- Yet another link only answer.
- GoDaddy has its own documentation of how to do it, How to install git on Linux Web Hosting, which is up-to-date.
- cPanel users don't need to do any of this, as git comes preinstalled