What I do is:
git branch sthgit checkout sth- (Twice):
git add -Agit commit -m ""
git checkout mastergit merge sthgit branch -d sth
But I must be doing something wrong because I only get a vertical line graph of commits for my local repository without any commits going to a branch. Any tips how to solve my problem?