You can follow these steps:
cd '/c/Publish'
# Clone the local repository. origin points now to '/c/Dev/myrepo'
git clone '/c/Dev/myrepo'
# Remove the local origin
git remote rm origin
# Add the remote origin
git remote add origin git@githost.com:myrepo.git
# Assuming the master branch was cloned,
# you need to set that up to track the remote master
git branch --set-upstream-to=origin/master master
# Tracking for other branches will be set up automatically with a pull
git pull