first:
    #on local machine
     cd e:/workspace
    mkdir TestNetrelay
    git init
    #doing change on your project
    git add *
    git commit -m 'some comment message'
second
    #on remote machine or server
    mkdir TestNetrelay.git
    cd TestNetrelay.git
    git --bare init
third
    #add remote origin 
    git remote add origin ssh://../../TestNetrelay.git
    git push origin master
fourth
    #switch to origin/master so you don't get any error about "fatal:cannot force update the current brancd"
    git checkout origin/master
    #create the local "master" branch that is tracking the "origin/master" branch
    git branch -f master origin/master
    #switch back to your "master" branch
    git checkout master