Upload Code To Github#

Let’s upload our code to a github repository to run security controls in the Github CI.

Create new repo#

image

and fill the details:

image

don’t forget to make it private and don’t add any README to it.

Add Origin#

copy these details (the origin path)

image

and run in the terminal:

git remote add origin git@github.com:<your-path-to-github-repo>