Git - reset all local changes and commit then sync with remote branch
If you ever need to discard local change and sync everything from the start
git reset --hard origin/develop (develop is your remote branch)
git pull origin develop (just funny they omit the slash here)
This is all you need.