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?
Neither google drive nor cloud storage can be used for git functionality.
So I was wondering if there is a way to still do it?
git
is installed on the machine, and you can use !
to invoke shell commands.
For example, to clone a git
repository:
!git clone https://github.com/fastai/courses.git
Here's a complete example that clones a repository and loads an Excel file stored therein. https://colab.research.google.com/notebook#fileId=1v-yZk-W4YXOxLTLi7bekDw2ZWZXWW216