add retry process

I think this `git push` will timeout and stop script here.
So, how about doing `git fsck` here and move `git push` after this `if` block?