git clone git@tensho.pcbi.upenn.edu:<Repsitory Name>
git commit -am "<change message here (or whatever your message is note the "a" for add as well as the "m" for message )>"
git push <Repository Name>
Note that unlike svn, which has a single global copy and the local copy on your machine, git effectively has three copies of each branch - the files you see, the local repository that you commit to, and the remove repository (on sobolev) that you push to.
git commit -a
git pull
After you have used git for a few days, you probably should set up your own branch. (See branches below.)
mkdir foo.git; cd foo.git; git init --bare --shared=group;
remember the double dashes
git fetch <some local git repository> master:master
git clone <Repsitory Name> (drop the .git suffix)
tar -xvf foo.tar
cd foo
git init
git add .
git commit -m "import of foo source tree"
cd git_directory_name
git checkout -b <new branch name>
git checkout my_branch
git fetch origin
git merge origin/master
git merge origin/ungar
git add file.txt
git commit -m "ENH: dollar dollar bill yo! "
git push origin my_branch
note that committing and pushing will only affect your branch, so you don't need to worry about messing other people up -- or being messed up by them.
if you want:
git fetch origin
git merge origin/master
git push origin master
To learn about merging branches, see (e.g.) http://book.git-scm.com/3_basic_branching_and_merging.html
For fixing problems/mistakes look into the basic guide in http://ohshitgit.com/