How to Create Versions in Git Bash

How to checkout the code from production and create a development version using Git Bash.