Fortunately git is distributed and lets you work offline. 
<a href="https:&#x2F;&#x2F;git-scm.com&#x2F;about&#x2F;distributed" rel="nofollow">https:&#x2F;&#x2F;git-scm.com&#x2F;about&#x2F;distributed</a>