checkout: tag support added

tags support added.
this feature need to be discussed and improved.