To my knowledge it is not possible to generically clone/checkout the latest stable version with either git or svn.
In either case you have to identify the specific tag (version) you want to pull from with git or svn. Or, as you’ve done, just pull trunk (which is the development branch)
For more see: https://codex.wordpress.org/Using_Subversion
Related Posts:
- How can I switch to another branch in git?
- Download single files from GitHub
- How can I delete all Git branches which have been merged?
- How do I delete a Git branch locally and remotely?
- How do I delete a Git branch locally and remotely?
- How do I rename a local Git branch?
- How do I undo the most recent local commits in Git?
- GitHub: Permission denied (publickey). fatal: Could not read from remote repository
- git – remote add origin vs remote set-url origin
- GitHub Error Message – Permission denied (publickey)
- Updating a local repository with changes from a GitHub repository
- Git push results in “Authentication Failed”
- github changes not staged for commit
- Git : fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists
- Git push results in “Authentication Failed”
- How do I pull my project from github?
- Difference between Git and GitHub
- How to solve SSL certificate: self signed certificate when cloning repo from github?
- How to find my GitHub username so that I can be found via the URL?
- github website publish cannot publish unborn HEAD
- fatal: The current branch master has no upstream branch
- Create a tag in a GitHub repository
- Git: Could not resolve host github.com error while cloning remote repository in git
- How to pull a specific branch from Github
- What does “Git push non-fast-forward updates were rejected” mean?
- GitHub: invalid username or password
- Trying to git pull with error: cannot open .git/FETCH_HEAD: Permission denied
- How do I update or sync a forked repository on GitHub?
- Can I share my private GitHub repository by link?
- There is no tracking information for the current branch
- Git push results in “Authentication Failed”
- Meaning of the GitHub message: push declined due to email privacy restrictions
- How can I reset or revert a file to a specific revision?
- How to rename a directory/folder on GitHub website?
- “*** Please tell me who you are.” when using SSH key
- Download a single folder or directory from a GitHub repo
- Pull request vs Merge request
- Clone A Private Repository (Github)
- How do I rename a repository on GitHub?
- error: cannot lock ref.. ‘refs/tags’ exists; cannot create ‘refs/tags/
- Git: Installing Git in PATH with GitHub client for Windows
- ! [rejected] master -> master (fetch first)
- How to git add a whole folder
- Set up git to pull and push all branches
- My new Github page isn’t showing up
- How can I remove a commit on GitHub?
- Invalid VCS root mapping – 3 errors on my project
- Updates were rejected because the remote contains work that you do not have locally
- Unity Collaborate vs GitHub
- how to reset develop branch to master
- “fatal: HttpRequestException encountered.” Error with GitHub/Bitbucket Repositories due to dropping TLS-1.0 support
- SourceTree keeps asking for Github password
- How do I set up Eclipse/EGit with GitHub?
- Repository size limits for GitHub.com
- How to change the license for a project at Github?
- Why I always Got Error “Push to origin/master was rejected”?
- Git lfs – “this exceeds GitHub’s file size limit of 100.00 MB”
- Github Windows ‘Failed to sync this branch’
- fatal: could not read Username for ‘https://github.com’: No such file or directory
- Github Authentication Failed – … GitHub does not provide shell access
- How to update a branch with master on GitHub
- How do I pull files from remote without overwriting local files?
- Git keeps prompting me for a password
- git push origin master does not work
- Can I arrange repositories into folders on Github?
- Delete forked repo from GitHub
- Found a swap file by the name
- How can I see the changes in a Git commit?
- How to discard local changes and pull latest from GitHub repository
- Could not create work tree dir ‘example.com’.: Permission denied
- Differences between Commit, Commit and Push, Commit and Sync
- key_load_public: invalid format
- Git push hangs when pushing to Github?
- Git: Where exactly is the “working directory”?
- Create empty branch on GitHub
- Import existing source code to GitHub
- Git push requires username and password
- GIT and Development URL’s point to production
- Version control with a team of non-developers
- Painless way to track remote Git repo for WordPress updates
- Questions about Git and WordPress [duplicate]
- How to use one git (github) repository for version control for multiple themes
- Is it possible to checkout a beta version of WordPress via github?
- how can I create a WP offline environment before releasing the websites? [closed]
- Git refusing to merge unrelated histories on rebase
- How to change the URI (URL) for a remote Git repository?
- What would I use git-worktree for?
- Git error when trying to push — pre-receive hook declined
- Git: How to squash all commits on branch
- How do I revert all local changes in Git managed project to previous state?
- Remove a git commit which has not been pushed
- How can I rollback a git repository to a specific commit?
- git push to specific branch
- Your branch is ahead of ‘origin/master’ by 3 commits
- How can I unstage my files again after making a local commit?
- Push local Git repo to new remote including all branches and tags
- How to get Git to clone into current directory
- Why is .gitignore not ignoring my files?
- What is .gitignore exactly?
- Is it bad practice to install WordPress by cloning from the official GitHub repo?