push an existing repository from the command line github step by step code example Example: git push existing code to new repository git remote add origin <remote repository URL>