Steps:
-
create repo in Github
-
Clone repo in local laptop
-
Start developing
-
Add the files to temp area ''' git add '''
-
Commit the changes '''
-
Commit the changes ''' git commit -m "why-you-commited"
-
Push the changes to GitHub/Central repo ''' git push -u origin main '''
naming convention : use small case with Hyphones(-). No spaces
''' git add . ; git commit -m "some-message"; git push -u main origin '''