Skip to main content

Create New Repo in Github

Create Repository in github.com

Github -> Home -> New Repo

Copy the URL https://github.com/{user_name}/{repo_name}.git

Initialize the Project locally

git init
touch .gitignore
git add .
git commit -m "Message"
git remote add origin {repo_url_from_above_step}
git push -u -f origin master