Pull latest stable release via git [closed]

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