How to upload a saved file from google colab to a site such as kaggle or github?
In your directory /miryam/myproject:

git init .    
git add myfile    
git commit -m "First commit"    
git remote add origin remote https://github.com/yours_project    
git push origin master