git checkout -b doesn't show updated code

C++
# Issue: Git checkout -b <branch_name> doesn't latet code or changes
 git pull https://<repo_url>.git <branch_name>
 git pull https://github.com/facebook/react.git 17.0.1
Source

Also in C++: