I'm new to programming in general, and I'm currently working on a little game project in Python + pygame. One day I might want to work on my laptop, and the other day on my desktop. How could I make it so that I can continue on my code from whatever computer I'll be working on? You could compare it to working in the same document in Google Drive, from whatever device you want. I've seen services like Github, Google Cloud Code, Microsoft Azure... could they be what I'm looking for? Would it work storing my project folder in something like Microsoft Onedrive?
GitHub is exactly what you are looking for :) Google: Version Control Systems