Create a directory on your cloud drive for Git (I use utilities\git but I cannot think of any reason to prefer one to another.)

Unzip Portable Git into that new directory

Tada! You can now access Git any place you can access your cloud storage. Of course, this may not allow you to push up to your Github repository but it will still allow you to have version control on any machine from which you can access the cloud.