how to create a repository in git bash code example
Example 1: git bash new repository
git init
git add -A
git commit -m 'Added my project'
git remote add origin [email protected]:sammy/my-new-project.git
git push -u -f origin master
git clone url
git fetch
git push (to check)
Example 2: upload new repo to git
echo "# Can-I-Shop-2" >> README.md
git init
git add .
git commit -m "first commit"
git remote add origin https://github.com/username/projectname.git
git push -u origin master
Example 3: github create repository command line
git **create -d "\<commit name\>"**