git init
git add .
git commit -m "Message"

(Manually create a github repository without a readme file)
git remote add origin https://github.com/hassanms/typescript-practice.git
git branch -M main
git push -u origin main