According to Collins Dictionary both can mean to admit defeat.
"Give up" has a few uses that "give in" does not. "Give up" can mean:
1. To quit doing something; I gave up drinking alcohol. 2. To stop trying: I gave up building the sand castle. 3. To surrender yourself to someone: The thief gave up to police.