Create Git Repository Posted on 2022-02-17 Views: StepsCreate Repository at Github website. To avoid errors, do not initialize the new repository with README, license, or gitignore files. You can add these files after your project has been pushed to GitHub. Initialize local repositoryscript123git init -b main# Add .gitignore file.git add . && git commit -m "First commit" Bind local and remote repository script1234git remote add origin <REMOTE_URL> # Sets the new remotegit remote -v# Verifies the new remote URL AuthenticationGenerate token as following: Use token: script1git remote set-url origin https://<generated_token>@github.com/<user-name>/<remote_repository_name>.git Push to remotescript1git push -u origin main