[Resolved] problem syncing with Github

I am trying to use this repository, https://github.com/WordPress/WordPress.git, but the problem is that this is currently giving me WordPress 3.5 beta 2. I don’t want the beta, I want the latest stable build, 3.4.2.

When I go “git branch”, it tells me that I only have one branch named ‘master’. I tried to go ‘git pull origin/3.4-branch’ but it disconnects me.