title: How to setup github repository in my NetBeans IDE?
body: <p>I am very new to Github. I just created one github account and it says as bellow:</p>
  
  <p>Step 1) </p>
  
  <pre><code>Global setup:
   Set up git
    git config --global user.name "MyName"
    git config --global user.email MyName@gmail.com
  
  Next steps:
    mkdir Java
    cd Java
    git init
    touch README
    git add README
    git commit -m 'first commit'
    git remote add origin git@github.com:MyName/Java.git
    git push -u origin master
  
  Existing Git Repo?
    cd existing_git_repo
    git remote add origin git@github.com:MyName/Java.git
    git push -u origin master
  </code></pre>
  
  <p>Step 2) NetBeans IDE trying to setup the link as git@github.com:MyName/Java.git</p>
  
  <p><img src="https://i.stack.imgur.com/QXYwf.png" alt="enter image description here">
  <img src="https://i.stack.imgur.com/ozfnR.png" alt="enter image description here"></p>
  
  <p>Now it gives error as you can see above. How do i setup this?</p>
  
  <p><strong>Follow up</strong>: (above process did not worked)</p>
  
  <pre><code>$ create a project &gt; cd /var/tmp/newproject
  $ sudo git remote add origin git@github.com:me/newproject.git
  $ ls -a
  .  ..  build  build.xml  dist  .git  .gitignore  manifest.mf  nbproject  src
  
  $ Open netbeans 
    &gt; Automatically it detects 
    &gt; origin:git@github.com:me/newproject.git 
      &gt; press next 
        &gt; local branch 
          &gt; select master 
            &gt; press next 
              &gt; press finish
    Works!
  </code></pre>