## Steps to link a folder to an existing Github Repository `git init` // initialises a new Git repository `git remote add origin <repository-url>` // link the Local Repository to the GitHub Repository. `git add .` // adds all files to the staging area. `git commit -m "Initial commit"` // commits the files `git push -u origin main` // pushes the committed files to the GitHub repository.