git fetch --depth=<取得したいコミット数> origin 特定のタグを起点にする git fetch --depth=<取得したいコミット数> origin refs/tags/<タグ名>:refs/tags/<タグ名>