How to add/remove remote git repositiory

    To add remote origin to repository Open terminal:
    cd repo_directory
    git remote add origin
    git push origin master
    To remove remote from repository:
    $: git remote -v // Will list remote urls
    # origin (fetch)
    # origin (push)

    $: git remote rm origin

    $: git remote -v // Will list nothing now
    Average: 5 (1 vote)