Push Code to Repository
We will proceed to clone our repository that we created in step 2.2 using the following syntax:
git clone https://<your_token>@github.com/<github_account>/<repository_name>.git
With:
- <your_token> : The token you saved in step 2.1
- <github_account> : Your Github account username
- <repository_name> : Your repository name, in this case workshop2
Execution Senquence
-
Prepare the screen for work

-
From the Git bash interface
- Execute the command
git clone
using the above mentioned syntax. Please change the information to suit you
git clone https://<your_token>@github.com/<github_account>/workshop2.git

- We will see the workshop2 folder appears
- Navigate to the 000058-SessionManager folder
- Copy all Source Code here except public folder

- Navigate to the workshop2 folder just cloned above
- Paste all Source Code just Copy

- Return to the Git bash interface
- Navigate to the workshop2 folder
cd workshop2
- Push all Source Code to Repository with commands
git add .
git commit -m "Add Source Code"
git push

- Access our workshop2 repository interface on Github, we will see the Source Code with the commit message Add Source Code just appeared
