$ cd existing-project
$ git init
$ git add --all
$ git commit -m "Initial Commit"
$ git remote add origin ssh://git@jiraapps2:7999/~abk/git-pres.git
$ git push origin master
OR
$ git clone ssh://git@jiraapps2:7999/~abk/git-pres.git
Cloning into 'git-pres'...
remote: Counting objects: 3, done.
remote: Total 3 (delta 0), reused 3 (delta 0)
Receiving objects: 100% (3/3), done.
Checking connectivity... done.
$ ls
git-pres
$ git push origin master
Counting objects: 4, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 456 bytes | 0 bytes/s, done.
Total 3 (delta 0), reused 0 (delta 0)
To ssh://git@jiraapps2:7999/~abk/git-pres.git
$ git init
Initialized empty Git repository in /Users/abk/Projects/git-presentation/.git/
$ git add MyCoolFile.php
$ git commit -m "Added my first file"
[master (root-commit) 0b3486d] Added my first file
1 file changed, 3 insertions(+)
create mode 100644 MyCoolFile.php
$ git branch NewFeature
$ git branch
NewFeature
* master
$ git checkout NewFeature
Switched to branch 'NewFeature'
$ git commit -a -m "Added a new line"
[NewFeature e5a4c95] Added a new line
1 file changed, 1 insertion(+)
$ git push origin NewFeature
Counting objects: 9, done.
Delta compression using up to 8 threads.
Compressing objects: 100% (3/3), done.
Writing objects: 100% (3/3), 315 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
To ssh://git@jiraapps2:7999/~abk/git-pres.git
* [new branch] NewFeature -> NewFeature