repo branch and repo diff in html

Signed-off-by: eggfly <lihaohua90@gmail.com>