You can think of the first basic meaning 버티다 bears, which is rather comparable to how "hold" and "stand" have've got another meaning "endure" have in English.
Like this, 버티다 rather has focus on actions against, while 견디다 is a little more abstract, I reckon.
Like he said you can use both the same way