#!/bin/sh git remote set-url origin https://[TOKEN]@github.com/[Owner]/[REPO_NAME].git # Example # git remote set-url origin https://this_is_my_token@github.com/samuel-alves/dummy-repo.git