Fiber bundle techniques in gauge theories