Are there any recommended methods to integrate git with colab?
For example, is it possible to work off code from google source repositories or the likes?
Nei
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
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__)