Though many often skip this step, I would personally recommend using git repository. 

Setting up your own repository management store will be more tedious one. So, I would suggest the following, 

    • Public repository - Use this only if you are willing to share your work with public. 
    • Private repository - Not free, I recommend checking bitbucket for private repository.
    • Private repository - Free upto 5 users. I suggest using this one

Git Basics

To get started with git repository you need to know the following basic git commands which are executed in command line.

  • Create a folder for your projects(Optional)

mkdir Your_project_name

  • Switch to the folder

cd Your_project_name

  • Initializing a git repo 

git init

  • Add git ignore file 
    • Get the gitignore file from here -> gitignore and save it to your project folder. 
  • Add all files 
    • Git add .
  • See Git Status
    • git status
  • Commit files 
    • git commit -m "Initial commit"
  • Git add remote
    • git remote add origin or  git remote add origin  [bitbucket repo URL] for example
    • If required to authenticate enter username/password.
  • Git push Initial changes
    • git push -u origin master 
  • Add Readme in Github
  • Git pull changes
    • git pull   [origin (remote name)] [master(branch name)]
  • Push subsequent changes
    • Git add . followed by git commit -m "commit message" followed by git push