for tag in $(git tag -l 'v*' | sort -V); do
    git show "$tag:README.md" > "README.$tag.md"
done
exit
git --no-pager --decorate --oneline log  README.md
exit
git diff --cached HEAD -- README.md
exit
# Between two tags
git diff v0.0.1 v1.0.0 -- README.md

# Between a tag and current HEAD
git diff v0.0.1 HEAD -- README.md
exit
# Describe the current commit (whatever files are at HEAD)
git describe --tags --always

# Describe a specific commit
git describe --tags --always HEAD
git describe --tags --always v0.0.1

echo "***************** INFO ON README ***********" # See which tags touch this file’s history
git log --decorate --oneline -- README.md

# See content of README.md at a given tag
git show v0.0.1:README.md

#NO use of more/pager
git --no-pager diff
git --no-pager log -1

echo "***************** INFO ON README ***********"
# For this repo only
git config pager.diff false

# Or globally
git config --global pager.diff false

# Never use a pager
git config --global core.pager cat

exit
##### NO PAGER SETUP ####
# Or: use pager only if output is longer than one screen
git config --global core.pager "less -F -X"
