r/learnpython • • Jun 09 '20

Github as a beginner

As a beginner learning python, is it too early to create and start coding simple projects on Github. and how do I transfer these codes (simple calculators) to a website I build subsequently?

401 Upvotes

111 comments sorted by

View all comments

Show parent comments

4

u/johnnymo1 Jun 10 '20

Git doesn't need to be shared publicly at all. Git is separate from Github. When you initialize a git repo from the command line, unless you purposely link it up to github, it lives solely on your machine.

There are also private github repos, or you could run a private server for hosting git repos.

2

u/DoubleDark_Doggo Jun 10 '20

Ah Ok, that makes sense. I run a web app on pythonanywhere, could I host my get repo there, or would I have to pull the files there from a repo elsewhere?

3

u/johnnymo1 Jun 10 '20

Sorry, I don't really know the details of what you can do on pythonanywhere, but from a very brief google search it looks like you should be able to have a git repo on there.

2

u/DoubleDark_Doggo Jun 10 '20

No problem, I appreciate the info friend!