REF.: Git Book - 2.1 Git Basics - Getting a Git Repository
- Install Git, if you not already have done so.
REF.: Git Book - 1.5 Getting Started - Installing Git - Optional (but recommended): Create an account for the online repository hoster of your choice.
REF.: Git Book - 4.9 Git on the Server - Third Party Hosted Options
-
Create and/or go to the project directory.
-
# Make current folder a git repository git init
-
# Add the files you want to track changes git add *.py git add LICENSE
-
git commit -m "Initial commit"
git clone https://path-to/the-project.git
# or use a different name
git clone https://path-to/the-project.git myVersion