Our cPanel shared hosting accounts come with Git pre-installed (i.e. you don't have to do anything to get it working.
To use Git, you need a repository like GitHub or Bitbucket.
From this state, you can issue commands through Git as documented on their site here.