A remote is a nickname for a URL
Your repository lives on your laptop. A remote is a saved link to another copy of the same repository, usually on GitHub. The default nickname is origin.
Create an empty repository on GitHub first. Do not tick "Add a README" if you already have commits locally; it creates a commit on their side that yours does not know about, and that causes the first error below.
git remote add origin https://github.com/ravikumar/attendance-app.git
git remote -v
git push -u origin main
-u sets origin/main as the upstream for your local main. After that first push, plain git push and git pull know where to go.