[Git] Fix release version number check in git_pull script
(cherry picked from commit c0768befc8e65bff197fd72f1c080bd3a180fabb)
(cherry picked from commit f0e8f1c0420e55c91a80612b8b9a6892fe189cf5)