In general, to build an older version you need to find an older revision hash that you want to build (with git log for example), and then use git checkout <myhash> to check out that revision. If you have a Git GUI it should be even easier to look through the history and pick a revision to check out.
i try hash:ccc8d2ab42751b44eb54640842630354ff3902f9
date : 2018-08-14 14:41:19
but build error
LINK : fatal error LNK1181: cannot open input file ‘C:\blender-git\blender…\lib\win64_vc14\boost\lib\libboost_date_ti
me-vc140-mt-s-1_60.lib’ [c:\blender-git\build_windows_Full_x64_vc14_Release\source\creator\blender.vcxproj]
Error during build,