External repositories are useful for having a backup of your source code in an external server and provides other team members access to the same code, then promoting the colaboration.
Hope you enjoy this video!
The presented instructions are:
1. Send local repository to a remote repository
git remote add origin your-remote-url
git branch -M main (-M: rename branch)
git push -u origin main (-u: upstream -
2. Push: Upload new commits to remote
git push
3. Clone the repository:
git clone your-remote-url
4. pull: download updates made on remote
Thanks for watching!