https://stackoverflow.com/questions/48350226/methods-for-using-git-with-google-colab
Mount the drive using:
from google.colab import drive
drive.mount('/content/drive/')
Then:
%cd /content/drive/
To clone the repo in your drive
!git clone <github repo url>
Access other files from the repo(example: helper.py is another file in repo):
import imp
helper = imp.new_module('helper')
exec(open("drive/path/to/helper.py").read(), helper.__dict__)