Title: problem syncing with Github
Last modified: August 20, 2016

---

# problem syncing with Github

 *  Resolved [jplew](https://wordpress.org/support/users/jplew/)
 * (@jplew)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/problem-syncing-with-github/)
 * Hello:
    I’m trying to clone a WordPress installation on my local machine using
   Github: [https://github.com/WordPress/WordPress](https://github.com/WordPress/WordPress)
 * I am trying to use this repository, [https://github.com/WordPress/WordPress.git](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.
 * Can explain please explain how I would go about this? Thanks a lot.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Thread Starter [jplew](https://wordpress.org/support/users/jplew/)
 * (@jplew)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/problem-syncing-with-github/#post-3141536)
 * ok, one solution I found was to go `git checkout origin/3.4-branch`, but that
   still gives me 3.4.3-alpha. How do I get the most recent stable build?
 *  [Nathan Gross](https://wordpress.org/support/users/bldg13/)
 * (@bldg13)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-syncing-with-github/#post-3141641)
 * I’m pretty new to Git so this is an fairly unqualified answer but I believe it’s
   just:
 * `git checkout 3.4.2`
 * Tags are used for versioning rather than branches.
 * `git tag`
 * to see a list of all the tags
 * This helped: [http://git-scm.com/book/en/Git-Basics-Tagging](http://git-scm.com/book/en/Git-Basics-Tagging)
 * as did this: [http://davidwinter.me/articles/2012/04/09/install-and-manage-wordpress-with-git/](http://davidwinter.me/articles/2012/04/09/install-and-manage-wordpress-with-git/)
 *  Thread Starter [jplew](https://wordpress.org/support/users/jplew/)
 * (@jplew)
 * [13 years, 5 months ago](https://wordpress.org/support/topic/problem-syncing-with-github/#post-3141642)
 * thanks bldg13, that was the answer I was looking for. I had reverted to using:
 * `git reset –hard 3.4.2`
 * They achieve the same thing, but I think your way is better. And thanks for the
   heads up on those references. Cheers.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘problem syncing with Github’ is closed to new replies.

## Tags

 * [git](https://wordpress.org/support/topic-tag/git/)

 * In: [Localhost Installs](https://wordpress.org/support/forum/localhost-installs/)
 * 3 replies
 * 2 participants
 * Last reply from: [jplew](https://wordpress.org/support/users/jplew/)
 * Last activity: [13 years, 5 months ago](https://wordpress.org/support/topic/problem-syncing-with-github/#post-3141642)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
