Teach checkout the -n|--dry-run option

<to be added>

Signed-off-by: Jens Lehmann <Jens.Lehmann@web.de>